using Tools.Domain.Specifications;

namespace Webshop20.Domain.Common.Factories.Contracts
{
    public interface ISpecificationFactory<T>
    {
        ISpecification<T> CreateSpecification(string specificationKey);
        ISpecification<T> CreateSpecification<S>(string specificationKey, S data);

    }
}